const http = require("http");
const fs = require("fs");
http.createServer((req, res) => {
    let fileContent = fs.readFileSync(__dirname + "/list.html");
    res.writeHead(200, { "Content-Type": "text/html" });
    res.end(fileContent);
}).listen(3000);